import 'package:fish_redux/fish_redux.dart';

enum InstallTypeEditViewAction {
  action,
  onTap,
  onSubmit,
}

class InstallTypeEditViewActionCreator {
  static Action onAction() {
    return const Action(InstallTypeEditViewAction.action);
  }

  static Action onTap(value) {
    return Action(InstallTypeEditViewAction.onTap, payload: value);
  }

  static Action onSubmit() {
    return const Action(InstallTypeEditViewAction.onSubmit);
  }
}
